// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_REP_REPAIR_ORDER
// * CreateDate    : 2014-06-05 18:30:34
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:34
// * LastChanger   : 2014-06-05 18:30:34
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class RepRepairOrderTable : TableInfo
    {
		public const string C_TableName = "REP_REPAIR_ORDER";
		
		public const string C_REP_ORDER_ID = "REP_ORDER_ID";
		public const string C_REP_APPLICATION_ID = "REP_APPLICATION_ID";
		public const string C_REP_ORDER_CODE = "REP_ORDER_CODE";
		public const string C_STATUS = "STATUS";
		public const string C_CREATE_DATE = "CREATE_DATE";
		
		public RepRepairOrderTable()
        {
            _tableName = "REP_REPAIR_ORDER";
        }
		
		protected static RepRepairOrderTable _current;
        public static RepRepairOrderTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new RepRepairOrderTable();

            _current.Add(C_REP_ORDER_ID, new ColumnInfo(C_REP_ORDER_ID,"RepOrderId", true, typeof(string)));
            _current.Add(C_REP_APPLICATION_ID, new ColumnInfo(C_REP_APPLICATION_ID,"RepApplicationId", false, typeof(string)));
            _current.Add(C_REP_ORDER_CODE, new ColumnInfo(C_REP_ORDER_CODE,"RepOrderCode", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_CREATE_DATE, new ColumnInfo(C_CREATE_DATE,"CreateDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo REP_ORDER_ID
        {
            get { return this[C_REP_ORDER_ID]; }
        }
		
		public ColumnInfo REP_APPLICATION_ID
        {
            get { return this[C_REP_APPLICATION_ID]; }
        }
		
		public ColumnInfo REP_ORDER_CODE
        {
            get { return this[C_REP_ORDER_CODE]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo CREATE_DATE
        {
            get { return this[C_CREATE_DATE]; }
        }
		
		
		
	}
}

